<div>
	<h2>Order Status Transition</h2>
	<div class="content">
		<div class="form300">
			<?= Phpr_Form::openTag() ?>
				<? $this->formRender($transition) ?>

				<?= backend_ajax_button('Save', 'onAddTransition', array(), "
					loadIndicator: {injectInElement: true},
					onSuccess: updateStates
				") ?>
				<?= backend_button('Cancel', array('onclick'=>'return cancelPopup()')) ?>
			
				<div class="clear"></div>
				<input type="hidden"  name="state_session_key" value="<?= h($session_key) ?>"/>
			</form>
		</div>
	</div>
</div>